*{
    box-sizing: border-box;
}
html{
    font-size: 100px;
}
body{
    margin: 0;
    background-color: #f5f5f5;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}


#nav-ad{
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 0.02rem 0.1rem 0.01rem #aaa;
}
#ad{
    font-size: 0;
}
#ad img{
    width: 3.7rem;
}
#nav{
    padding: 0.1rem 0.1rem 0.05rem;
    background-color: #f2f2f2;
    position: relative;
}
#nav .search-box>div{
    float: left;
}
#nav .search-box::after{
    display: block;
    content: "";
    clear: both;
}

#nav .mi img{
    width: 0.3rem;
    display: block;
 margin: 0.05rem 0;
}
#nav .search{
    color: rgba(0,0,0,.3);
    width: 2.8rem;
    font-size: 0.15rem;
    background-color: white;
    /* border: 1px solid #e5e5e5; */
    margin: 0 0.1rem;
    padding: 0.1rem 0.05rem 0.1rem 0.5rem;
    background-image: url("./imgs/search.png");
    background-repeat: no-repeat;
    background-size: 0.3rem 0.3rem;
    background-position: 0.1rem center;
    border-radius: 0.05rem;
}
#nav .user img{
    display: block;
    width: 0.25rem;
    margin: 0.05rem 0;
}
#nav .list-box ul::after{
    display: block;
    content: "";
    clear: both;
}
 #nav .list-box{
    width: 4.5rem;
    overflow-x: scroll;
    margin-top: 0.15rem;
}

#nav .list-box ul{
    width: 6.5rem;
}
#nav .list-box li{
    float: left;
    font-size: 0.15rem; 
    color: rgb(116, 116, 116);
    padding-bottom: 0.05rem;
    margin-right: 0.4rem;
}
#nav .list-box li:first-child{
    border-bottom: 2px solid rgb(237, 91, 0);
}

#nav .arrow{
    position: absolute;
    right: 0.95rem;
    top: 0.6rem;
    font-size: 0;
    background-color: #f2f2f2;
}
#nav .arrow img{
    width: 0.35rem;
    height: 0.35rem;
}
#test1{
    margin-top:1.5rem;
    width: 3.7rem !important;
    height: 2rem !important;
    border: 1px solid red;
}

.s div{
    height: rem;
}
.s div img{
    height: 2rem;
} 
/* .layui-carousel {
    height: 2rem !important ;
}
.n1  tr td{
    width: 0.8rem;
    height: 0.8rem;
}
.n1  tr td img{
    width: 100%;
    height: 100%;
}
.n2 tr td{
    width: 2rem;
    height: 1.4rem;
    border: 1px solid red;
/* } */